package com.supermarket.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.supermarket.entity.Provider;
import com.supermarket.util.R;

import java.util.List;

public interface ProviderService extends IService<Provider> {
    Provider getById(Long id);
    
    List<Provider> getAll();
    
    void create(Provider provider);
    
    void update(Provider provider);
    
    void delete(Long id);
    
    R<Object> getProviderList(Integer currentPage, Integer pageSize, String proCode, String proName);
}
